home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_12_04
/
saks
/
xrt.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-02-09
|
402b
|
33 lines
----------
Listing 2 - xrt class definition
//
// xrt.h - cross-reference table interface
//
#ifndef XRT_H_INCLUDED
#define XRT_H_INCLUDED
#include "lns.h"
class treenode;
class xrt
{
public:
xrt();
~xrt();
void add(const char *w, unsigned n);
void print();
private:
treenode *root;
};
inline xrt::xrt() : root(0)
{
}
#endif